﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LongSpeed.WebSite.Main
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (LongSpeed.WebSite.Main.AdminDeskTop.SiteConfig == null)
                {
                    LongSpeed.WebSite.Main.AdminDeskTop.SiteConfig = new LongSpeed.WebSite.Behaviors.WebSiteConfig();
                    LongSpeed.WebSite.Main.AdminDeskTop.SiteConfig = LongSpeed.WebSite.Main.AdminDeskTop.SiteConfig.Init(this.Server);              
                }
            }
        }
    }
}